package com.sfx.concurrent.demo.model;

import java.util.Arrays;
import java.util.Comparator;
import java.util.PriorityQueue;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-05-23
 * Time: 15:21
 */
public class TestDemo1 {
    public static void main(String[] args) {
        String s1 = "a";
        String s2 = "b";
        String s3 = "ab";
        String s4 = "a" + "b";
        System.out.println(s3 == s4);
        int[] arr  = {1,2};
        PriorityQueue<Integer> pq = new PriorityQueue<>((o1, o2) -> o1-o2);
    }
}